package cn.bluemobi.app.mapper;

import java.util.List;
import java.util.Map;

import cn.bluemobi.app.entity.form.CollectionsForm;
import cn.bluemobi.app.entity.output.Collections;

public interface CollectionMapper {

    List<Collections> findCollectionByMemberId(String memberId);

    int deleteCollection(String collectionId);

    int checkIsCollection(String memberId, String commodityId);

    String getSpecificationId(String commodityId);

    int insertCollection(CollectionsForm collectionsForm);

    int checkIsCollectionCommodityId(String memberId, String commodityId);

    int checkIsCollectionMerchantId(String memberId, String merchantId);

    List<Collections> findCollectionList(Map<String, Object> params);

}
